package BehavioralMode.observer.WeChatOfficialAccount;

/**
 * 具体观察者 （微信普通用户）
 */
public class ConcreteObserver implements Observer{
    private String name;

    public ConcreteObserver(String name) {
        this.name = name;
    }

    @Override
    public void receiveMsg(String msg) {
          System.out.println( name + "收到消息：" + msg);
    }
}
